Comments for MEDB 5502, Week 03
Topics to be covered
What you will learn
Indicator variables for three or more categories
Multiple factor analysis of variance
Checking assumptions of analysis of variance
Interactions in analysis of variance
Interactions in analysis of covariance
Interactions in multiple linear regression
The general linear model
To be determined
Review oneway analysis of variance
\(H_0:\ \mu_1=\mu_2=...=\mu_k\)
\(H_1:\ \mu_i \ne \mu_j\)
for some i, j
Reject
\(H_0\)
if F-ratio is large
Note: when k=2, use analysis of variance or t-test
Full moon data
Admission rates to mental health clinic before, during, and after full moon.
One year of data
Boxplot of full moon data
Descriptive statistics
Analysis of variance table
Tukey post hoc
Creating indicator variables
Running general linear model with all indicator variables
Analysis of variance with first and second indicators
11.458 - 13.417 = -1.959
9
::: notes
10
11
12
13
14
Live demo, Multiple factor analysis of variance
Break #1
What you have learned
Indicator variables for three or more categories
What’s coming next
Multiple factor analysis of variance
Slide 04-02
Live demo, Multiple factor analysis of variance
Break #2
What you have learned
Multiple factor analysis of variance
What’s coming next
Checking assumptions of analysis of variance
Slide 04-03
Live demo, Checking assumptions of analysis of variance
Break #3
What you have learned
Checking assumptions of analysis of variance
What’s coming next
Interactions in analysis of variance
Slide 03-04
Live demo, Interactions in analysis of variance
Break #4
What you have learned
Interactions in analysis of variance
What’s coming next
Interactions in analysis of covariance
Slide 04-05
Live demo, Interactions in analysis of covariance
Break #5
What you have learned
Interactions in analysis of covariance
What’s coming next
Interactions in multiple linear regression
Slide 04-06
Live demo, Interactions in multiple linear regression
Break #6
What you have learned
Interactions in multiple linear regression
What’s coming next
The general linear model
Slide 04-07
Live demo, The general linear model
Break #7
What you have learned
The general linear model
What’s coming next
To be determined
Slide 04-08
Live demo, To be determined
Summary
What you have learned
Indicator variables for three or more categories
Multiple factor analysis of variance
Checking assumptions of analysis of variance
Interactions in analysis of variance
Interactions in analysis of covariance
Interactions in multiple linear regression
The general linear model
To be determined
Additional topics??